﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>头部</title>
<link rel="stylesheet" type="text/css" href="_ADMIN_css/public.css" />
	<link rel="shortcut icon" href="_ADMIN_img/favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="_ADMIN_js/jquery.min.js"></script>
<script type="text/javascript" src="_ADMIN_js/public.js"></script>
<script src="__STATICW__lib/layui/layui.js" charset="utf-8"></script>
</head>
<script language="javascript">
	function page_quit(){
		parent.location.href="{:url('admin/index/index')}";
	}
</script>
<body>
	<!-- 头部 -->
	<div class="head">
		<div class="headL">
			<img  style="width:150px;height:150px; margin-top:-18px;" src="_ADMIN_img/headlogo.png" />
		</div>
		<div class="headR">
			<p class="p1" style="padding-top:18px;">
				欢迎，{$_SESSION['u_name']}
			</p>
			<p class="p2">
				<a href="{:url('admin/index/changepass')}"  target="main" class="resetPWD">修改密码</a>&nbsp;&nbsp;
				<a href="{:url('admin/login/loginout')}" target="_top"  onclick="isloginout(this)" class="goOut">退出</a>
			</p>
		</div>
		<!-- onclick="{if(confirm(&quot;确定退出吗&quot;)){return true;}return false;}" -->
	</div>

	<div class="closeOut">
		<div class="coDiv">
			<p class="p1">
				<span>X</span>
			</p>
			<p class="p2">确定退出当前用户？</p>
			<P class="p3">
				<a class="ok yes" href="#">确定</a><a class="ok no" href="#">取消</a>
			</p>
		</div>
	</div>



</body>
	<script>
		function isloginout(a){
			var p=confirm("确定要退出吗？")
			if(p){
				$(a).attr("href","{:url('admin/login/loginout')}");
			}else{
				$(a).attr("href","{:url('admin/index/index')}");
			}
		}
	</script>
</html>